<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label for="c-email" class="control-label col-xs-12 col-sm-2">邮箱</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-email" class="form-control" name="row[email]" type="text" value="{$row.email}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-user_name" class="control-label col-xs-12 col-sm-2">{:__('User_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_name" data-rule="required" class="form-control" name="row[user_name]" type="text" value="{$row.user_name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-full_name" class="control-label col-xs-12 col-sm-2">{:__('Full_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-full_name" class="form-control" name="row[full_name]" type="text" value="{$row.full_name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-nickname" class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nickname" data-rule="required" class="form-control" name="row[nickname]" type="text" value="{$row.nickname}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-birthday" class="control-label col-xs-12 col-sm-2">{:__('Birthday')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-birthday" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[birthday]" type="text" value="{$row.birthday}">
        </div>
    </div>


    <div class="form-group">
        <label for="c-address" class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" name="row[address]" type="text" value="{$row.address}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-spare_mobile_number" class="control-label col-xs-12 col-sm-2">{:__('Spare_mobile_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-spare_mobile_number" class="form-control" name="row[spare_mobile_number]" type="text" value="{$row.spare_mobile_number}">
        </div>
    </div>

    <div class="form-group">
        <label for="c-pay_points" class="control-label col-xs-12 col-sm-2">{:__('Pay_points')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_points" data-rule="required" class="form-control" name="row[pay_points]" type="number" value="{$row.pay_points}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-rank_points" class="control-label col-xs-12 col-sm-2">{:__('Rank_points')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-rank_points" data-rule="required" class="form-control" name="row[rank_points]" type="number" value="{$row.rank_points}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-credit_line" class="control-label col-xs-12 col-sm-2">{:__('Credit_line')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-credit_line" data-rule="required" class="form-control" step="0.01" name="row[credit_line]" type="number" value="{$row.credit_line}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-referrer" class="control-label col-xs-12 col-sm-2">{:__('Referrer')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-referrer" data-rule="required" class="form-control" name="row[referrer]" type="text" value="{$row.referrer}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-reg_step" class="control-label col-xs-12 col-sm-2">认证状态</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[reg_step]" id="c-reg_step" class="form-control ">
                <option value="0" {if condition="$row.reg_step eq '0'"}selected{/if}>一般</option>
                <option value="1" {if condition="$row.reg_step eq '1'"}selected{/if}>高级</option>
                <option value="2" {if condition="$row.reg_step eq '2'"}selected{/if}>认证</option>
            </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
